var Promise = require('promise');

var promise = new Promise(function (resolve, reject) {
    get('http://www.google.com', function (err, res) {
        if (err) reject(err);
        else resolve(res);
    });
});
